#include "ErrPage.h"
#include "Router.h"
#include <iostream>


void ErrPage::show() {
	std::cout << "404 not found\npress '0' to back\n";
}

void ErrPage::choose() {
	int in{};
	std::cin >> in;
	if (in == 0) {
		Router::back(parent);
	}
}
